package com.ruoyi.program.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库管理对象 wx_question_bank
 *
 * @author ruoyi
 * @date 2025-09-17
 */
public class WxQuestionBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题库id */
    private Long bankId;

    /** 题库名称 */
    @Excel(name = "题库名称")
    private String bankName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 题库状态 */
    @Excel(name = "题库状态")
    private Integer status;

    /** 略缩图 */
    @Excel(name = "略缩图")
    private String avatar;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long userId;

    public void setBankId(Long bankId)
    {
        this.bankId = bankId;
    }

    public Long getBankId()
    {
        return bankId;
    }

    public void setBankName(String bankName)
    {
        this.bankName = bankName;
    }

    public String getBankName()
    {
        return bankName;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setAvatar(String avatar)
    {
        this.avatar = avatar;
    }

    public String getAvatar()
    {
        return avatar;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("bankId", getBankId())
                .append("bankName", getBankName())
                .append("description", getDescription())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("avatar", getAvatar())
                .append("remark", getRemark())
                .append("userId", getUserId())
                .toString();
    }
}
